<?php /* Smarty version Smarty-3.1.6, created on 2013-03-25 17:52:13
         compiled from "/home/zmx/erp2.1/DzhPHP/FrameWork/Tpl/Client/index.tpl" */ ?>
<?php /*%%SmartyHeaderCode:211547479351501e4d636925-61694969%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '5184bbaf2d777e2ed16cfcdf563e553000bbe04c' => 
    array (
      0 => '/home/zmx/erp2.1/DzhPHP/FrameWork/Tpl/Client/index.tpl',
      1 => 1364183643,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '211547479351501e4d636925-61694969',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'lang' => 0,
    'rand' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.6',
  'unifunc' => 'content_51501e4d6bceb',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_51501e4d6bceb')) {function content_51501e4d6bceb($_smarty_tpl) {?><?php if (!is_callable('smarty_function_wz')) include '/home/zmx/erp2.1/DzhPHP/FrameWork/Extend/Vendor/Smarty/plugins/function.wz.php';
if (!is_callable('smarty_function_note')) include '/home/zmx/erp2.1/DzhPHP/FrameWork/Extend/Vendor/Smarty/plugins/function.note.php';
?><?php echo smarty_function_wz(array(),$_smarty_tpl);?>

<form method="POST" action="<?php echo U('Client/index');?>
" id="search_form">
__SEARCH_START__
<dl>
	<?php if (C('MULTI_CLIENT')){?>
	<dt>
		<label><?php echo $_smarty_tpl->tpl_vars['lang']->value['client_type'];?>
：<input type="hidden" id="rand" name="rand" value="<?php echo $_smarty_tpl->tpl_vars['rand']->value;?>
"></label>
		<?php echo smarty_function_select(array('data'=>C('CLIENT_TYPE'),'name'=>"query[detail_type]",'value'=>($_POST['query']['detail_type'])),$_smarty_tpl);?>

	</dt>
	<?php }?>
	<dt>
		<label><?php echo $_smarty_tpl->tpl_vars['lang']->value['client_no'];?>
：</label>
		<input type="text" name="like[comp_no]" value="<?php echo $_POST['like']['comp_no'];?>
" url="<?php echo U('AutoComplete/clientNo');?>
" jqac>
    </dt>
	<dt>
		<label><?php echo $_smarty_tpl->tpl_vars['lang']->value['client_name'];?>
：</label>
		<input type="text" name="like[comp_name]" value="<?php echo $_POST['like']['comp_name'];?>
" url="<?php echo U('AutoComplete/clientName');?>
" jqac />
	</dt>
	<dt>
		<label><?php echo $_smarty_tpl->tpl_vars['lang']->value['client_country'];?>
：</label>
		<input type="hidden" name="query[country_id]" value="<?php echo $_POST['query']['country_id'];?>
">
		<input type="text" name="country_name" value="<?php echo $_POST['country_name'];?>
" url="<?php echo U('AutoComplete/countryName');?>
" jqac />
	</dt>
	<dt>
		<label><?php echo $_smarty_tpl->tpl_vars['lang']->value['client_city'];?>
：</label>
		<input type="hidden" name="query[city_id]" value="<?php echo $_POST['query']['city_id'];?>
">
		<input type="text" name="city_name" value="<?php echo $_POST['city_name'];?>
" url="<?php echo U('AutoComplete/cityName');?>
" jqac />
	</dt>
	<dt>	
		<label><?php echo $_smarty_tpl->tpl_vars['lang']->value['state'];?>
：</label>
		<?php echo smarty_function_select(array('data'=>C('BASICSTATE'),'name'=>"query[to_hide]",'value'=>($_POST['query']['to_hide']),'combobox'=>1),$_smarty_tpl);?>

	</dt>
</dl>
__SEARCH_END__
</form> 
<?php echo smarty_function_note(array('export'=>true),$_smarty_tpl);?>

<div id="print" class="width98">
<?php echo $_smarty_tpl->getSubTemplate ("Client/list.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

</div> <?php }} ?>